package cn.liujianbo.example.pattern.decorator;

import java.math.BigDecimal;

/**
 * @author 刘建波
 * @date 2022-03-04 13:47
 */
public class FriedNoodles extends FastFood {

    public FriedNoodles() {
        super("炒面", new BigDecimal(8));
    }

    @Override
    public BigDecimal cost() {
        return getPrice();
    }
}
